/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bookshop.dao;

import com.bookshop.entity.Book;
import com.bookshop.entity.Customerorder;
import com.bookshop.entity.CustomerorderBook;
import com.bookshop.entity.CustomerorderBookPK;
import java.util.List;

/**
 *
 * @author Thibault
 */
public interface IDaoCustomerOrderBook {

     public boolean addItem(Book book, int quantity);

    public String removeItem(CustomerorderBook item);

    public int getItemNumberFromCart();

    public List<CustomerorderBook> getCartItems(CustomerorderBookPK customerOrderBookPk);
}
